package cn.b.sky.mes.hr.model;

import java.util.List;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : Personnel.java<br></strong>
 * <strong>Package : cn.b.sky.mes.hr.model<br></strong>
 * <strong>Description : </strong>车间人员管理<br> 
 * <strong>Create on : 2016-3-24 上午10:08:10<br></strong>
 * <p>
 * @author lidapeng<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br> 
 * <br>
 */
public class Personnel extends ImeCommon {
  /**
   * 用户编号
   */
  private String userCode;

  /**
   * 职员编号
   */
  private String personnelCode;

  /**
   * 职员姓名
   */
  private String personnelName;

  /**
   * 工作中心编号
   */
  private String workCenterCode;

  /**
   * 锁定标记
   */
  private Integer lockFlag;

  /**
   * 工作中心名称
   */
  private String workCenterText;

  //人员所属类型
  private List<PersonnelTypeAssign> ptas;

  //其他属性下面加
  public String getUserCode() {
    return StringUtils.upperCase(userCode);
  }

  public void setUserCode(String userCode) {
    this.userCode = userCode;
  }

  public String getPersonnelCode() {
    return StringUtils.upperCase(personnelCode);
  }

  public void setPersonnelCode(String personnelCode) {
    this.personnelCode = personnelCode;
  }

  public String getPersonnelName() {
    return personnelName;
  }

  public void setPersonnelName(String personnelName) {
    this.personnelName = personnelName;
  }

  public String getWorkCenterCode() {
    return workCenterCode;
  }

  public void setWorkCenterCode(String workCenterCode) {
    this.workCenterCode = workCenterCode;
  }

  public Integer getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(Integer lockFlag) {
    this.lockFlag = lockFlag;
  }

  public String getWorkCenterText() {
    return workCenterText;
  }

  public void setWorkCenterText(String workCenterText) {
    this.workCenterText = workCenterText;
  }

  public List<PersonnelTypeAssign> getPtas() {
    return ptas;
  }

  public void setPtas(List<PersonnelTypeAssign> ptas) {
    this.ptas = ptas;
  }

}
